home *** CD-ROM | disk | FTP | other *** search
/ The PC-SIG Library 10 / The PC-Sig Library - Shareware for the IBM PC and Compatibles (PC-SIG)(Tenth Edition Disks 1-2804)(1991).iso / PC_SIGCD / 12 / 2 / DISK1225.ZIP / INSTMO.BAT < prev    next >
DOS Batch File  |  1989-06-02  |  3KB  |  104 lines

  1. echo off
  2. cls
  3. if %2x==x goto NODRIVE
  4. echo All disk drive designations must end with colons.  For instance, drive C
  5. echo is designated as "C:", not "C".  Make absolutely sure that you have desig-
  6. echo nated your hard disk correctly.
  7. echo .
  8. echo If your hard disk is not "%2", then press Control-C to abort; otherwise,
  9. pause
  10. echo off
  11. cls
  12. %2
  13. cd\
  14. md MANAGEX
  15. cd\MANAGEX
  16. echo Copying files...
  17. copy %1mo.exe
  18. cls
  19. if exist %1upgrd.exe copy %1upgrd.exe
  20. if exist mcalc.dat goto SKIPMISC
  21. if exist bp.bat erase bp.bat
  22. if exist tx.bat erase tx.bat
  23. :SKIPMISC
  24. if exist moe.exe erase moe.exe
  25. if exist to.exe erase to.exe
  26. if exist from.exe erase from.exe
  27. if exist export.exe erase export.exe
  28. if exist input.exe erase input.exe
  29. if exist output.bat erase output.bat
  30. if exist moe.hlp erase moe.hlp
  31. if exist delsched.exe erase delsched.exe
  32. if exist upgrd.com erase upgrd.com
  33. if exist moe.doc erase moe.doc
  34. if exist readme.doc erase readme.doc
  35. if not exist prntcode.lbf goto EXTRACT
  36. echo                              VERY IMPORTANT
  37. echo .
  38. echo .
  39. echo Now, some program files will be extracted from an archive.  Before each
  40. echo file is extracted, a check will be made to see whether a similarly named
  41. echo one already exists on your hard disk.  If so, you'll be asked whether you
  42. echo wish to overwrite it with a new copy. If you were to answer "YES", some of
  43. echo your customizations might be overwritten with plain "vanilla" data.
  44. echo .
  45. echo           THEREFORE, ALWAYS ANSWER "NO" BY PRESSSING THE "N" KEY.
  46. echo .
  47. echo .
  48. echo .
  49. pause
  50. :EXTRACT
  51. mo
  52. erase mo.exe
  53. upgrd %2
  54. erase upgrd.*
  55. cls
  56. if exist mcalc.dat goto SKIPPRINT
  57. echo The instructions must be printed.
  58. echo .
  59. echo .
  60. echo Now, turn your printer OFF and then ON.  Make sure that it is ready to
  61. echo print and that you have loaded at least 40 sheets of paper.  Then, align
  62. echo the print head 1/2" below the top of the first sheet.
  63. echo .
  64. pause
  65. cls
  66. echo Printing documentation...
  67. type MOE.DOC >prn
  68. :SKIPPRINT
  69. cls
  70. echo .
  71. echo MOE is now installed on your hard disk in the MANAGEX directory. To access
  72. echo the program, do the following:
  73. echo .  
  74. echo     1) enter "%2" at the prompt (this logs you onto drive %2);
  75. echo     2) enter "CD\MANAGEX" at the prompt ("CD" means "Change Dirctory");
  76. echo     3) enter "MOE" at the prompt.
  77. echo . 
  78. echo .
  79. pause
  80. echo off
  81. cls
  82. echo .
  83. echo                      IF YOU'RE A REGISTERED USER...
  84. echo .
  85. echo      The upgrade you have just gone through has resulted in a personalized
  86. echo copy of MOE.
  87. echo .
  88. echo    Feel free to distribute copies of the MOE disk, but DON'T tell anyone
  89. echo your serial number, since a user must register to receive one of his own.
  90. echo .
  91. echo      Thanks.
  92. echo .
  93. echo .
  94. goto END
  95. :NODRIVE
  96. cls
  97. echo .
  98. echo      You must designate BOTH the SOURCE diskette and the HARD disk
  99. echo .
  100. echo example:  B:INSTMO B: C:   will install MOE from drive B to drive C:
  101. echo .
  102. echo            PLEASE TRY AGAIN
  103. :END
  104.